package labs;

/*
 * Imprime multiplos de 7 de 2 digitos
 */
public class IfElse02 {

    public static void main(String[] args) {
        int x = 10, cantMult = 0;
        Long suma = 0L;
        while (x < 100) {

            if ((x % 7) == 0) {
                System.out.println(x);
                cantMult++;
                suma+=x;
            }
            ++x;
        }
        System.out.println("El total de numeros multiplos son: " + cantMult);
        System.out.println("La suma es: " + suma);
    }
}
